﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Toybox.NicoSharp.Live.UnitTest
{
	[TestClass]
	public class Test_Live : AbstractTester
	{
		[TestMethod]
		public void Test_HeartBeat()
		{
			string id = "lv195522402";

			HeartBeat hb = HeartBeat.Get(id);
			Assert.IsNotNull(hb);
		}

		[TestMethod]
		public void Test_LiveTags()
		{
			string id = "lv195522402";

			LiveTag[] tags = LiveTag.GetTags(id);
			Assert.IsNotNull(tags);

			int count = LiveTag.GetTagRev(id);
			Assert.AreNotEqual(-1, count);
		}
	}
}